const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  resBaseUrl: state => state.user.resBaseUrl,
  banBtnList: state => state.user.banBtnList,
  name: state => state.user.name,
  username: state => state.user.username,
  sourceName: state => state.user.sourceName,
  tenantId: state => state.user.tenantId,
  deptNo: state => state.user.deptNo,
  deptId: state => state.user.deptId,
  userLoaded: state => state.user.loaded,
  roles: state => state.user.roles,
  materialList: state => state.wechat.materialList,
  menus: state => state.menus.menus,
  curMenu: state => state.menus.curMenu,
  sidebarMenus: state => state.menus.sidebarMenus,
  sidebarMenusIndex: state => state.menus.sidebarMenusIndex,
  loginForm: state => state.user.loginForm
}
export default getters
